home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 4
/
The Arsenal Files 4 (Arsenal Computer).ISO
/
gen_prog
/
inst103.exe
/
SOUND.CFG
< prev
next >
Wrap
Text File
|
1994-12-21
|
1KB
|
56 lines
build
clrscr
put 31 into #textcolor
clreol
center 1 "Demo Install Program"
gotoxy 1 25
clreol
center 25 "(c) 1994 by Matthew Mastracci"
put 7 into #textcolor
writechar 1 2 1840 "▒"
show
window 5 11 75 14 68 79 68 "" 1
gotoxy 7 12
put 79 into #textcolor
writeln "Where should the program be installed?"
put 63 into #textcolor
put "." into $dir
fexpand $dir
readfield 7 13 63 $dir
put 7 into #textcolor
window 27 8 56 17 17 31 17 "" 1
build
put 31 into #textcolor
gotoxy 29 9
writeln "Sound Source:"
gotoxy 29 11
writeln "1. PC Speaker"
gotoxy 29 12
writeln "2. Adlib (music only)"
gotoxy 29 13
writeln "3. Sound Blaster"
gotoxy 29 14
writeln "4. Sound Blaster Pro"
gotoxy 29 16
write "Select: "
put 63 into #textcolor
show
:Read
put "" into $sound
put 1 into #readupdown
readfield 37 16 1 $sound
put 0 into #readupdown
put $sound into #sound
if #sound > 4 then Read
if #sound < 1 then Read
put 7 into #textcolor
closewin
closewin
clrscr
writeln "Writing configuration..."
writeln
fopen "demodata.dat" 1
fwrite "Directory: " $dir
fwrite "Sound: " $sound
fclose